#include <stdio.h>

int main(int argc, char *argv[])
{
        unsigned char x = 0x4, y = 2;
        
        x = x | (1 << (y-1));

        printf("x=%#x,y=%#x\n", x, y);

        return 0;
}
